package com.association.management.mbg.model;

import java.io.Serializable;
import java.util.Date;

public class DutyTimeslotSetting implements Serializable {
    private Integer id;

    private Integer subordinateAssociation;

    private Integer dayOfWeek;

    private Integer timeSlotOrder;

    private String startTime;

    private String endTime;

    private Date createTime;

    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSubordinateAssociation() {
        return subordinateAssociation;
    }

    public void setSubordinateAssociation(Integer subordinateAssociation) {
        this.subordinateAssociation = subordinateAssociation;
    }

    public Integer getDayOfWeek() {
        return dayOfWeek;
    }

    public void setDayOfWeek(Integer dayOfWeek) {
        this.dayOfWeek = dayOfWeek;
    }

    public Integer getTimeSlotOrder() {
        return timeSlotOrder;
    }

    public void setTimeSlotOrder(Integer timeSlotOrder) {
        this.timeSlotOrder = timeSlotOrder;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", subordinateAssociation=").append(subordinateAssociation);
        sb.append(", dayOfWeek=").append(dayOfWeek);
        sb.append(", timeSlotOrder=").append(timeSlotOrder);
        sb.append(", startTime=").append(startTime);
        sb.append(", endTime=").append(endTime);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}